const http = require('http')
const express = require('express')

const app = express()
app.use('/api', require('./routes/index.js'))

const server = http.createServer(app)
server.listen(3001)